package com.zx.service;

import com.zx.pojo.SmbmsUser;

import java.util.List;

/**
 * 业务逻辑层 service
 */
public interface UsersService {
    public List<SmbmsUser> findAllByUsers();

    public boolean addUsers(SmbmsUser user);

    public boolean delUsers(Long uid);

    public boolean updateUsers(SmbmsUser user);

    public SmbmsUser findUsersById(Long uid);

    public SmbmsUser login(String uname, String upwd);
}
